-
Notifications
You must be signed in to change notification settings - Fork 10
Create airframe config for EZG #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
860c4e9
to
33b2a45
Compare
param set-default FW_AIRSPD_MAX 16.0 | ||
param set-default FW_AIRSPD_MIN 8.5 | ||
param set-default FW_AIRSPD_TRIM 10.0 | ||
param set-default FW_DTRIM_P_VMAX -0.25 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not set the dtrim by default because they are platform specific
param set-default LND_FLIGHT_T_HI 2 | ||
param set-default LND_FLIGHT_T_LO -1126687183 | ||
param set-default NPFG_GSP_MAX_TK 5.0 | ||
param set-default NPFG_SW_DST_MLT0.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a space missing here
param set-default PWM_MAIN_DIS5 -1 | ||
param set-default PWM_MAIN_DIS6 -1 | ||
param set-default PWM_MAIN_DISARM 1000 | ||
param set-default PWM_MAIN_TRIM1 0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same for the trims. They are platform specific and probably should just be 0 by default
param set-default ASPD_SCALE 0.85 | ||
|
||
param set-default PWM_MAIN_DIS1 1500 | ||
param set-default PWM_MAIN_DIS2 1350 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably the default here should be 1500. For this EZG we set it to 1350 because the actuator was not well centered.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Describe problem solved by this pull request
Previously, the parameters for EZGs were stored as a raw param file, making it hard to version the parameter files. Also, this makes it hard to match the parameter with the firmware version.
Describe your solution
This PR adds the parameters of our current EZGs to the airframe config.